package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author 李杰
 * @since 2021-03-15
 */

@ApiModel(value="Admin对象", description="")
public class Admin implements Serializable {



    @ApiModelProperty(value = "管理员id")
      @TableId(value = "adminId", type = IdType.AUTO)
    private Integer adminId;

    @ApiModelProperty(value = "管理员用户名")
    @TableField("adminUsername")
    private String adminUsername;

    @ApiModelProperty(value = "管理员密码")
    @TableField("adminPassword")
    private String adminPassword;

    @ApiModelProperty(value = "名字")
    @TableField("name")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminUsername() {
        return adminUsername;
    }

    public void setAdminUsername(String adminUsername) {
        this.adminUsername = adminUsername;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPasssword) {
        this.adminPassword = adminPasssword;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", adminUsername='" + adminUsername + '\'' +
                ", adminPasssword='" + adminPassword + '\'' +
                '}';
    }
}
